//资产中心下--权限审计
import { get, post } from "@/utils/http";
//权限审计 @mock https://mock.xiaojukeji.com/project/12620/interface/api/902647
export const upmAssetListApi = (params) => post("/service/upm/asset/list", params); //资产列表查询
export const upmAssetUpdateApi = (params) => post("/service/upm/asset/update", params); //资产信息修改
export const upmAssetDetailApi = (params) => get("/service/upm/asset/detail", params); //资产信息详情

export const getColumnsInfoApi = (params) => get("/service/upm/asset/getColumnsInfo", params); //获取表头
export const updateColumnsInfoApi = (params) => post("/service/upm/asset/updateColumnsInfo", params); //更新表头
export const upmAssetBatchReportApi = (params) => post("/service/upm/asset/batchReport", params); //UPM批量发起审计

export const getAppBelongBusinessApi = (params) => get("/service/upm/asset/getAppBelongBusiness", params); //归属业务线 下拉数据

//审计中心 ==》 权限审计
export const upmReportListApi = (params) => post("/service/upm/report/list", params); //审计列表查询
export const upmReportDetailApi = (params) => get("/service/upm/report/detail", params); //审计信息详情
export const upmReportItemsApi = (params) => post("/service/upm/report/items", params); //UPM审计详情-审计结果列表

export const upmSaveOrSubmitApi = (params) => post("/service/upm/report/saveOrSubmit", params); //UPM审计详情-审计结果列表
export const umpUploadEvidenceApi = (params) => post("/service/upm/report/uploadEvidence", params); //材料上传
